package com.shiliuzi.www.pojo.dto.revoke;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class InfoRecordDto {

    /**
     * 奖惩记录id
     */
    @NotNull
    @Min(message = "记录不能小于1",value = 1l)
    private Integer recordId;

    /**
     * 用户id
     */
    private Integer userId;
}
